<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">竞赛名称：</label>
                            <div class="col-sm-8">
                                <select id="newsId" name="newsId" class="form-control">
                                    <option th:value="${item.id}" th:each="item : ${certificateProfile}" th:text="${item.name+'(高级)'}" th:if="${item.grade==0}"></option>
                                    <option th:value="${item.id}" th:each="item : ${certificateProfile}" th:text="${item.name+'(中级)'}" th:if="${item.grade==1}"></option>
                                    <option th:value="${item.id}" th:each="item : ${certificateProfile}" th:text="${item.name+'(初级)'}" th:if="${item.grade==2}"></option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">认证批次名称：</label>
                            <div class="col-sm-8">
                                <input id="name" name="name" class="form-control" placeholder="请输入认证批次名称" type="text">

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">认证说明：</label>
                            <div class="col-sm-8">
                                <input id="explain" name="explain" class="form-control" placeholder="请输入认证说明" type="text">

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">报名开始时间：</label>
                            <div class="col-sm-8">
                                <input id="startTime" name="startTime" class="form-control" type="text"
                                        placeholder="请输入报名开始时间" autocomplete="off">

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">报名结束时间：</label>
                            <div class="col-sm-8">
                                <input id="endTime" name="endTime" class="form-control" type="text"
                                        placeholder="请输入报名结束时间" autocomplete="off">

                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/webJs/jzweb/certificationBatch/add.js">
</script>
</body>
</html>
